package cn.laike.modules.dev.service;

import com.baomidou.mybatisplus.service.IService;
import cn.laike.common.utils.PageUtils;
import cn.laike.modules.dev.entity.CityEntity;
import cn.laike.modules.dev.entity.ConfigEntity;

import java.util.List;
import java.util.Map;

import org.springframework.data.repository.query.Param;

/**
 * 城市列表
 *
 * @author ziye
 * @email 524748907@qq.com
 * @date 2019-02-18 11:54:52
 */
public interface CityService extends IService<CityEntity> {

    PageUtils queryPage(Map<String, Object> params);
    
    CityEntity getCityByName(String name);
    
    List<CityEntity> queryList();
    
    /**
	 * 获取酒店所属城市列表
	 * @param uid
	 * @return
	 */
	List<CityEntity> queryHotelCityList(Long uid);
}

